package xyz.lwm.lazycat.netpipe.setting;

import lombok.Data;
import xyz.lwm.lazycat.annotation.Bean;
import xyz.lwm.lazycat.annotation.SettingPrefix;

import java.util.ArrayList;
import java.util.List;

/**
 * 认证设置
 *
 * @author lwm
 */
@Bean
@Data
@SettingPrefix("lazycat.auth")
public class AuthSetting {

    /**
     * 免认证 URL
     */
    private List<String> passableUrls = new ArrayList<>();

    /**
     * 随机生成用户
     */
    private boolean generateUser;

}
